﻿namespace Production.CommonLib.Models
{
    public class ProductionOrderEditRequestDto
    {
        /// <summary>
        /// 工单编码
        /// </summary>
        public string? Code { get; set; }

        /// <summary>
        /// 工单名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 工单来源
        /// </summary>
        public int OrderSource { get; set; }

        /// <summary>
        /// 工单状态
        /// </summary>
        public int OrderStatus { get; set; }

        public StandardBomInfoResponseDto StandardBom { get; set; } = new();

        // public int StandardBomId { get; set; }
        //
        // public string? StandardBomCode { get; set; }
        //
        // public string? StandardBomName { get; set; }

        /// <summary>
        /// 生产数量
        /// </summary>
        public decimal Quantity { get; set; }

        /// <summary>
        /// 预期时间
        /// </summary>
        public DateTime? ExpectedTime { get; set; }

        /// <summary>
        /// 截止时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 计划开始时间
        /// </summary>
        public DateTime? PlanStartTime { get; set; }

        /// <summary>
        /// 计划开始时间
        /// </summary>
        public DateTime? PlanEndTime { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string? Description { get; set; }
    }
}